package com.whpu.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whpu.common.utils.PageUtils;
import com.whpu.mall.product.entity.SpuInfoEntity;
import com.whpu.mall.product.vo.spu.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author FanboKai
 * @email fanbokai163@163.com
 * @date 2020-11-19 22:55:24
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //保存商品信息
    void saveSpuInfo(SpuSaveVo spuVo);

    //保存spu的基本信息
    void saveSpuBaseInfo(SpuInfoEntity spuInfo);

    ////条件分页查询
    PageUtils queryPageByCondition(Map<String, Object> params);

    //商品上架
    void up(Long spuId);
}

